package com.pxmeta.dynamic.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pxmeta.dynamic.entity.TopicCategory;
import com.pxmeta.dynamic.entity.vo.TopicCategoryVO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wcl
 * @since 2022-07-12
 */
public interface TopicCategoryMapper extends BaseMapper<TopicCategory> {

    IPage<TopicCategoryVO> getList(@Param("page") Page page,
                                   @Param("keyword") String keyword,
                                   @Param("type") Integer type);
}
